[INFO] cloning repository https://github.com/anyrust/sfhtml
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anyrust/sfhtml" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyrust%2Fsfhtml", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyrust%2Fsfhtml'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 48c1ebd9b967ab4792954caba332b529683d108a
[INFO] testing anyrust/sfhtml against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyrust%2Fsfhtml" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/anyrust/sfhtml
[INFO] finished tweaking git repo https://github.com/anyrust/sfhtml
[INFO] tweaked toml for git repo https://github.com/anyrust/sfhtml written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/anyrust/sfhtml on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/anyrust/sfhtml already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f28194d330691b99430b64f7b61e107c338a6892667775a24dc6089c17271458
[INFO] running `Command { std: "docker" "start" "-a" "f28194d330691b99430b64f7b61e107c338a6892667775a24dc6089c17271458", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f28194d330691b99430b64f7b61e107c338a6892667775a24dc6089c17271458", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f28194d330691b99430b64f7b61e107c338a6892667775a24dc6089c17271458", kill_on_drop: false }`
[INFO] [stdout] f28194d330691b99430b64f7b61e107c338a6892667775a24dc6089c17271458
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 39e639e07b71578d79a0d16a1911783314aa5df97310e0513297b7c9822f08fa
[INFO] running `Command { std: "docker" "start" "-a" "39e639e07b71578d79a0d16a1911783314aa5df97310e0513297b7c9822f08fa", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]    Compiling siphasher v1.0.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling owo-colors v4.3.0
[INFO] [stderr]    Compiling smawk v0.3.2
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling unicode-linebreak v0.1.5
[INFO] [stderr]    Compiling simdutf8 v0.1.5
[INFO] [stderr]    Compiling mac v0.1.1
[INFO] [stderr]    Compiling oxc_estree v0.56.5
[INFO] [stderr]    Compiling zerocopy v0.8.42
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling cow-utils v0.1.3
[INFO] [stderr]    Compiling futf v0.1.5
[INFO] [stderr]    Compiling str_indices v0.4.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling unicode-id-start v1.4.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling assert-unchecked v0.1.2
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]    Compiling tendril v0.4.3
[INFO] [stderr]    Compiling textwrap v0.16.2
[INFO] [stderr]    Compiling oxc_index v3.1.0
[INFO] [stderr]    Compiling ryu-js v1.0.2
[INFO] [stderr]    Compiling anstyle-parse v1.0.0
[INFO] [stderr]    Compiling anstyle v1.0.14
[INFO] [stderr]    Compiling colorchoice v1.0.5
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling bumpalo v3.17.0
[INFO] [stderr]    Compiling ropey v1.6.1
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling anstream v1.0.0
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling phf_generator v0.11.3
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]    Compiling castaway v0.2.4
[INFO] [stderr]    Compiling phf_codegen v0.11.3
[INFO] [stderr]    Compiling compact_str v0.8.1
[INFO] [stderr]    Compiling string_cache_codegen v0.5.4
[INFO] [stderr]    Compiling clap_lex v1.1.0
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling notify-types v1.0.1
[INFO] [stderr]    Compiling data-encoding v2.10.0
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling clap_builder v4.6.0
[INFO] [stderr]    Compiling ascii v1.1.0
[INFO] [stderr]    Compiling chunked_transfer v1.5.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling oxc_allocator v0.56.5
[INFO] [stderr]    Compiling inotify-sys v0.1.5
[INFO] [stderr]    Compiling inotify v0.10.2
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling oxc_data_structures v0.56.5
[INFO] [stderr]    Compiling markup5ever v0.12.1
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling filetime v0.2.27
[INFO] [stderr]    Compiling seq-macro v0.3.6
[INFO] [stderr]    Compiling tiny_http v0.12.0
[INFO] [stderr]    Compiling memmap2 v0.9.10
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling notify v7.0.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling similar v2.7.0
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling phf_macros v0.11.3
[INFO] [stderr]    Compiling oxc-miette-derive v1.0.2
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling oxc_ast_macros v0.56.5
[INFO] [stderr]    Compiling html5ever v0.27.0
[INFO] [stderr]    Compiling clap_derive v4.6.0
[INFO] [stderr]    Compiling phf v0.11.3
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling oxc-miette v1.0.2
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling clap v4.6.0
[INFO] [stderr]    Compiling oxc_span v0.56.5
[INFO] [stderr]    Compiling oxc_diagnostics v0.56.5
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling oxc_syntax v0.56.5
[INFO] [stderr]    Compiling oxc_regular_expression v0.56.5
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling string_cache v0.8.9
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling oxc_ast v0.56.5
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling xml5ever v0.18.1
[INFO] [stderr]    Compiling markup5ever_rcdom v0.3.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling tungstenite v0.21.0
[INFO] [stderr]    Compiling oxc_ecmascript v0.56.5
[INFO] [stderr]    Compiling oxc_parser v0.56.5
[INFO] [stderr]    Compiling sfhtml v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/browser.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/live.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Digest`
[INFO] [stdout]  --> src/live.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sha2::{Digest, Sha256};
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/live.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 343 |     let mut hasher = Sha256::new();
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hasher`
[INFO] [stdout]    --> src/live.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 343 |     let mut hasher = Sha256::new();
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasher`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `close_line` is never read
[INFO] [stdout]   --> src/header.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct ScriptRegion {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub close_line: usize,     // line of </script>
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ScriptRegion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_purpose_from_comment` is never used
[INFO] [stdout]    --> src/header.rs:491:4
[INFO] [stdout]     |
[INFO] [stdout] 491 | fn find_purpose_from_comment(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_purpose_comment` is never used
[INFO] [stdout]    --> src/js_scope.rs:206:8
[INFO] [stdout]     |
[INFO] [stdout] 206 | pub fn extract_purpose_comment(lines: &[&str], decl_line_idx: usize) -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.78s
[INFO] running `Command { std: "docker" "inspect" "39e639e07b71578d79a0d16a1911783314aa5df97310e0513297b7c9822f08fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "39e639e07b71578d79a0d16a1911783314aa5df97310e0513297b7c9822f08fa", kill_on_drop: false }`
[INFO] [stdout] 39e639e07b71578d79a0d16a1911783314aa5df97310e0513297b7c9822f08fa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5b467821252a034a556916f691087156e9e99acd5fc67ef3be6a3c7259bafb2f
[INFO] running `Command { std: "docker" "start" "-a" "5b467821252a034a556916f691087156e9e99acd5fc67ef3be6a3c7259bafb2f", kill_on_drop: false }`
[INFO] [stderr]    Compiling sfhtml v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/browser.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/live.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Digest`
[INFO] [stdout]  --> src/live.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sha2::{Digest, Sha256};
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/live.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 343 |     let mut hasher = Sha256::new();
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hasher`
[INFO] [stdout]    --> src/live.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 343 |     let mut hasher = Sha256::new();
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasher`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `close_line` is never read
[INFO] [stdout]   --> src/header.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct ScriptRegion {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub close_line: usize,     // line of </script>
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ScriptRegion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_purpose_from_comment` is never used
[INFO] [stdout]    --> src/header.rs:491:4
[INFO] [stdout]     |
[INFO] [stdout] 491 | fn find_purpose_from_comment(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_purpose_comment` is never used
[INFO] [stdout]    --> src/js_scope.rs:206:8
[INFO] [stdout]     |
[INFO] [stdout] 206 | pub fn extract_purpose_comment(lines: &[&str], decl_line_idx: usize) -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> tests/integration/scan_test.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut path = PathBuf::from(env!("CARGO_BIN_EXE_sfhtml"));
[INFO] [stdout]   |         ----^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `missing_from_code`
[INFO] [stdout]   --> tests/integration/validate_test.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let missing_from_code = result["anchor_consistency"]["missing_from_code"].as_array().unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_missing_from_code`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fixtures_dir` is never used
[INFO] [stdout]  --> tests/integration/page_test.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn fixtures_dir() -> PathBuf {
[INFO] [stdout]   |    ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/browser.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/live.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Digest`
[INFO] [stdout]  --> src/live.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sha2::{Digest, Sha256};
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/live.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 343 |     let mut hasher = Sha256::new();
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hasher`
[INFO] [stdout]    --> src/live.rs:343:9
[INFO] [stdout]     |
[INFO] [stdout] 343 |     let mut hasher = Sha256::new();
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasher`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `close_line` is never read
[INFO] [stdout]   --> src/header.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct ScriptRegion {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub close_line: usize,     // line of </script>
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ScriptRegion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_purpose_from_comment` is never used
[INFO] [stdout]    --> src/header.rs:491:4
[INFO] [stdout]     |
[INFO] [stdout] 491 | fn find_purpose_from_comment(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_purpose_comment` is never used
[INFO] [stdout]    --> src/js_scope.rs:206:8
[INFO] [stdout]     |
[INFO] [stdout] 206 | pub fn extract_purpose_comment(lines: &[&str], decl_line_idx: usize) -> Option<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.10s
[INFO] running `Command { std: "docker" "inspect" "5b467821252a034a556916f691087156e9e99acd5fc67ef3be6a3c7259bafb2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b467821252a034a556916f691087156e9e99acd5fc67ef3be6a3c7259bafb2f", kill_on_drop: false }`
[INFO] [stdout] 5b467821252a034a556916f691087156e9e99acd5fc67ef3be6a3c7259bafb2f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f33e53c13dc0a4901a14a13a54108fa030d4ae0961f1ab8bc6452ad02d800ee9
[INFO] running `Command { std: "docker" "start" "-a" "f33e53c13dc0a4901a14a13a54108fa030d4ae0961f1ab8bc6452ad02d800ee9", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Path`
[INFO] [stderr]  --> src/browser.rs:5:17
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::path::{Path, PathBuf};
[INFO] [stderr]   |                 ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/live.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Digest`
[INFO] [stderr]  --> src/live.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | use sha2::{Digest, Sha256};
[INFO] [stderr]   |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/live.rs:343:9
[INFO] [stderr]     |
[INFO] [stderr] 343 |     let mut hasher = Sha256::new();
[INFO] [stderr]     |         ----^^^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `hasher`
[INFO] [stderr]    --> src/live.rs:343:9
[INFO] [stderr]     |
[INFO] [stderr] 343 |     let mut hasher = Sha256::new();
[INFO] [stderr]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasher`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `close_line` is never read
[INFO] [stderr]   --> src/header.rs:12:9
[INFO] [stderr]    |
[INFO] [stderr]  8 | pub struct ScriptRegion {
[INFO] [stderr]    |            ------------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 12 |     pub close_line: usize,     // line of </script>
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ScriptRegion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `find_purpose_from_comment` is never used
[INFO] [stderr]    --> src/header.rs:491:4
[INFO] [stderr]     |
[INFO] [stderr] 491 | fn find_purpose_from_comment(
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `extract_purpose_comment` is never used
[INFO] [stderr]    --> src/js_scope.rs:206:8
[INFO] [stderr]     |
[INFO] [stderr] 206 | pub fn extract_purpose_comment(lines: &[&str], decl_line_idx: usize) -> Option<String> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]  --> tests/integration/scan_test.rs:5:9
[INFO] [stderr]   |
[INFO] [stderr] 5 |     let mut path = PathBuf::from(env!("CARGO_BIN_EXE_sfhtml"));
[INFO] [stderr]   |         ----^^^^
[INFO] [stderr]   |         |
[INFO] [stderr]   |         help: remove this `mut`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `missing_from_code`
[INFO] [stderr]   --> tests/integration/validate_test.rs:63:9
[INFO] [stderr]    |
[INFO] [stderr] 63 |     let missing_from_code = result["anchor_consistency"]["missing_from_code"].as_array().unwrap();
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_missing_from_code`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `fixtures_dir` is never used
[INFO] [stderr]  --> tests/integration/page_test.rs:8:4
[INFO] [stderr]   |
[INFO] [stderr] 8 | fn fixtures_dir() -> PathBuf {
[INFO] [stderr]   |    ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `sfhtml` (bin "sfhtml" test) generated 8 warnings (run `cargo fix --bin "sfhtml" -p sfhtml --tests` to apply 4 suggestions)
[INFO] [stderr] warning: `sfhtml` (bin "sfhtml") generated 8 warnings (8 duplicates)
[INFO] [stderr] warning: `sfhtml` (test "tests") generated 3 warnings (run `cargo fix --test "tests" -p sfhtml` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sfhtml-d87af8112d5ac655)
[INFO] [stderr]      Running tests/tests.rs (/opt/rustwide/target/debug/deps/tests-d8738f98374a3092)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 55 tests
[INFO] [stdout] test integration::header_test::test_header_json_output ... ok
[INFO] [stdout] test integration::apply_test::test_apply_context_mismatch ... ok
[INFO] [stdout] test integration::create_test::test_create_html_basic ... ok
[INFO] [stdout] test integration::create_test::test_create_force_overwrite ... ok
[INFO] [stdout] test integration::apply_test::test_apply_dry_run ... ok
[INFO] [stdout] test integration::apply_test::test_apply_backup ... ok
[INFO] [stdout] test integration::create_test::test_create_nested_directory ... ok
[INFO] [stdout] test integration::create_test::test_create_html_with_header ... ok
[INFO] [stdout] test integration::diff_test::test_diff_identical_files ... ok
[INFO] [stdout] test integration::diff_test::test_diff_two_files ... ok
[INFO] [stdout] test integration::history_test::test_history_status_and_clean ... ok
[INFO] [stdout] test integration::header_test::test_header_section_extract ... ok
[INFO] [stdout] test integration::header_test::test_header_full_extract ... ok
[INFO] [stdout] test integration::locate_test::test_locate_class_anchor ... ok
[INFO] [stdout] test integration::header_test::test_header_no_header_file ... ok
[INFO] [stdout] test integration::locate_test::test_locate_const_anchor ... ok
[INFO] [stdout] test integration::module_test::test_module_detects_missing ... ok
[INFO] [stdout] test integration::page_test::test_debug_list_empty ... ok
[INFO] [stdout] test integration::create_test::test_create_refuses_overwrite_without_force ... ok
[INFO] [stdout] test integration::module_test::test_module_text_output ... ok
[INFO] [stdout] test integration::page_test::test_debug_help ... ok
[INFO] [stdout] test integration::module_test::test_module_finds_all_deps ... ok
[INFO] [stdout] test integration::locate_test::test_locate_not_found ... ok
[INFO] [stdout] test integration::page_test::test_debug_start_no_browser_graceful ... ok
[INFO] [stdout] test integration::locate_test::test_anchor_list ... ok
[INFO] [stdout] test integration::apply_test::test_apply_simple_diff ... ok
[INFO] [stdout] test integration::page_test::test_debug_list_json ... ok
[INFO] [stdout] test integration::page_test::test_page_eval_no_session ... ok
[INFO] [stdout] test integration::page_test::test_page_click_no_session ... ok
[INFO] [stdout] test integration::module_test::test_module_header_preview ... ok
[INFO] [stdout] test integration::save_as_test::test_save_as_refuses_overwrite ... ok
[INFO] [stdout] test integration::scan_test::test_scan_extracts_app_name ... ok
[INFO] [stdout] test integration::page_test::test_debug_stop_no_session ... ok
[INFO] [stdout] test integration::scan_test::test_scan_finds_header_files ... ok
[INFO] [stdout] test integration::page_test::test_page_dom_no_session ... ok
[INFO] [stdout] test integration::save_as_test::test_save_as_force_overwrite ... ok
[INFO] [stdout] test integration::history_test::test_apply_validation_json_output ... ok
[INFO] [stdout] test integration::scan_test::test_scan_fallback_for_no_header ... ok
[INFO] [stdout] test integration::locate_test::test_locate_function_anchor ... ok
[INFO] [stdout] test integration::scan_test::test_scan_text_output ... ok
[INFO] [stdout] test integration::validate_test::test_validate_malformed ... ok
[INFO] [stdout] test integration::search_test::test_search_finds_survey ... ok
[INFO] [stdout] test integration::page_test::test_page_screenshot_no_session ... ok
[INFO] [stdout] test integration::save_as_test::test_save_as_basic_copy ... ok
[INFO] [stdout] test integration::page_test::test_page_help ... ok
[INFO] [stdout] test integration::search_test::test_search_title_high_weight ... ok
[INFO] [stdout] test integration::save_as_test::test_save_as_inject_header ... ok
[INFO] [stdout] test integration::search_test::test_search_no_results ... ok
[INFO] [stdout] test integration::validate_test::test_validate_no_header ... ok
[INFO] [stdout] test integration::validate_test::test_validate_survey_app ... ok
[INFO] [stdout] test integration::validate_test::test_validate_text_output ... ok
[INFO] [stdout] test integration::create_test::test_create_json_output ... ok
[INFO] [stdout] test integration::history_test::test_apply_saves_history ... ok
[INFO] [stdout] test integration::history_test::test_history_rollback ... ok
[INFO] [stdout] test integration::module_test::test_module_dep_types ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 55 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "f33e53c13dc0a4901a14a13a54108fa030d4ae0961f1ab8bc6452ad02d800ee9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f33e53c13dc0a4901a14a13a54108fa030d4ae0961f1ab8bc6452ad02d800ee9", kill_on_drop: false }`
[INFO] [stdout] f33e53c13dc0a4901a14a13a54108fa030d4ae0961f1ab8bc6452ad02d800ee9
